package com.its.us.web.controller.sys;

import io.netty.handler.codec.http.HttpResponse;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @Author: master
 * @Date: 2020/11/11 22:03
 * @Version: 1.0
 */
@Api(tags = "domain跳转")
@Slf4j
@Controller
public class MainController {
    /**
     * 跳转成功页面
     *
     * @return
     */
    @RequestMapping(value = "domain")
    public String domain() {
        try {
            //List<SysRoleMenu> sysRoleMenu = UserUtils.getSysRoleMenus();
            //System.out.println("sysRoleMenu"+sysRoleMenu);
        } catch (Exception e) {
            //e.printStackTrace();
            log.error("跳转domain页面错误：", e);
        }
        return "main/domain";
    }
}
